package org.window;

import javafx.scene.image.Image;
import javafx.scene.layout.*;

/**
 * 分类类型
 */
public class PaneAndHBoxFrameAndColumnVBoxAndPaneTypeData {
    public static Pane pane = new Pane();
    public static void init(){
        pane.setPrefWidth(280);
        pane.setPrefHeight(160);
        pane.setLayoutX(200);
        pane.setLayoutY(205);
//        pane.setBackground(new Background(new BackgroundImage(new Image("bgk.jpg"), BackgroundRepeat.NO_REPEAT ,BackgroundRepeat.NO_REPEAT, BackgroundPosition.CENTER, BackgroundSize.DEFAULT)));

        pane.setBackground(new Background(new BackgroundImage(new Image("fen2.png"), BackgroundRepeat.NO_REPEAT ,BackgroundRepeat.NO_REPEAT, BackgroundPosition.CENTER, BackgroundSize.DEFAULT)));

    }
}
